<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../../common/prama.jsp" %>
<%
	Object model = request.getAttribute("model");
%>
<div id="privilegeAddDialog" class="CommonPanel">
	<table>
		<tr>
			<td class="label">名称：</td>
			<td class="input">
				<input style="width:350px" name="name" value="${model.name }"/>
			</td>
		</tr>
		<tr>
			<td class="label">Key：</td>
			<td class="input">
				<input style="width:350px" name="key" value="${model.key }"/>
			</td>
		</tr>
		<tr>
			<td class="label">URL：</td>
			<td class="input">
				<input style="width:350px" name="url" value="${model.url }"/>
			</td>
		</tr>
	</table>
	<input style="width:350px" type="hidden" name="id" value="${model.id }"/>
</div>
<%
	if(model == null){
		%>
		<button id="submitBtn" style="float:right" class="commonBtn">提交</button>
		<%
	}
	else{
		%>
		<button id="saveBtn" style="float:right" class="commonBtn">保存</button>
		<%
	}
%>
